# 导包
import pytest
# 导包 调用工具   json 转换元组列表  函数
from py01 import add

# 导包  调用工具 待测  函数
from py03 import num
#
data = add()
#  测试 类
class Testschool(object):
    @pytest.mark.parametrize("name,school,sex,age,prt,lukyNumbers,expect",add)
    def test_school(self,name,school,sex,age,prt,lukyNumbers,expect):
        ret = num(name,school,sex,age,prt,lukyNumbers)
        assert expect == ret




